package com.lynn.salary.service.impl;

import java.util.List;
import java.util.Map;

import com.lynn.salary.entity.ArticleType;
import com.lynn.salary.service.IArticleTypeService;

public class ArticleTypeService extends BaseService implements IArticleTypeService {

	public List<ArticleType> findAll() throws Exception {
		List<Map<String, Object>> result = dao.getPartList(ArticleType.class, ArticleType.getFields(), 
				"isDeleted=0 and tag like ?  order by showOrder", new Object[]{ArticleType.PUBLISH});
		return dao.conver(ArticleType.class, result);
	}

}
